using System;
using System.Collections.Generic;
using SignalR.Hubs;

namespace Live.Refresh.Components
{
    public class MyHub : Hub
    {
        public void Send(string message)
        {
            Clients.ReloadTab(message);
        }
        public void toggleBroadcast(string msg)
        {
            Console.WriteLine(msg);
        }
        public string[] Components()
        {
            var list = new List<string> {"DirWatcher", "DBWatcher", "WebWatcher"};
            return list.ToArray();
        }
    }
}